#include <iostream>
using namespace std;

int main ()
{
    int num1 = 0,num2 = 0;
    char yunsuan = ' ';

    cout<<"enter two integer ,sperated by space "<<endl;
    cin>>num1>>num2;

    cout<<"enter a yuansuanfu eg + - * / %";
    cin>>yunsuan;
    cout<<endl;

    int result = 0;

    if (yunsuan=='+')
        result = num1 + num2;
    else if (yunsuan =='-')
        result = num1 - num2;
    else if (yunsuan =='*')
        result = num1 * num2;
    else if (yunsuan =='/')
        result = num1 / num2;
    else if (yunsuan =='%')
        result = num1 - num2;
    else if (yunsuan =='%')
        result = num1 - num2;
    else{
        cout<<"you enter a wrong yunsuanfu .";
        return 0;
    }

    cout<<num1<<yunsuan<<num2<<"="<<result<<endl;

    return 3;
    
}